﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BanXeHoi
{
    public partial class Home : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.MultiView1.ActiveViewIndex = 0;
            this.Menu1.MenuItemClick+=Menu1_MenuItemClick;
        }

        protected void btn_click_Click(object sender, EventArgs e)
        {
            
        }
        protected void basic_click_Click(object sender, EventArgs e)
        {
            
            
        }

        protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
        {
            if(e.Item.Value == "1")
            {
                MultiView1.ActiveViewIndex = 0;
            }
            if (e.Item.Value == "2")
            {
                MultiView1.ActiveViewIndex = 1;
            }
            if (e.Item.Value == "3")
            {
                MultiView1.ActiveViewIndex = 2;
            }
            if (e.Item.Value == "4")
            {
                MultiView1.ActiveViewIndex = 3;
            }
        }
    }
}